import {HOME_URL} from '@/core/configs/app.config';
import {Button, Result} from 'antd';
import {useNavigate} from 'react-router-dom';
import './index.less';

const NotAuth = () => {
    const navigate = useNavigate();
    const goHome = () => {
        navigate(HOME_URL);
    };
    return (
        <Result
            status="403"
            title="403"
            subTitle="Sorry, you are not authorized to access this page."
        />
    );
};

export default NotAuth;
